import layout from '@/layouts/base-layout/index.vue'

const pre = 'list-'

export default {
  path: '/list',
  component: layout,
  meta: { name: '列表页面', iconSvg: 'menu-list' },
  redirect: {
    name: `${pre}basic-list`
  },
  children: [
    {
      path: 'basic-list',
      name: `${pre}basic-list`,
      meta: { name: '基础列表' },
      component: () => import('@/views/list/basic-list.vue')
    },
    {
      path: 'card-list',
      name: `${pre}card-list`,
      meta: { name: '卡片列表' },
      component: () => import('@/views/list/card-list.vue')
    }
  ]
}
